/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mapbar.pay.entity;

/**
 *
 * @author fengbj
 */
public class Device {

    private boolean isSerial; //服务器上是否有该序列号？
    private boolean isActive;     //是否已经激活
    private String activation;//激活码
    private String serial;  //序列号
    private String deviceId;//设备码
    private String brand;   //品牌
    private String deviceModel;   //型号
    private String deviceCorpName;   //厂商
    private String activecodeDate; //激活码激活日期
    private String expiryDate;   //有效日期

    public String getActivation() {
        return activation;
    }

    public void setActivation(String activation) {
        this.activation = activation;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getSerial() {
        return serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getDeviceCorpName() {
        return deviceCorpName;
    }

    public void setDeviceCorpName(String deviceCorpName) {
        this.deviceCorpName = deviceCorpName;
    }

    public String getDeviceModel() {
        return deviceModel;
    }

    public void setDeviceModel(String deviceModel) {
        this.deviceModel = deviceModel;
    }

    public String getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(String expiryDate) {
        this.expiryDate = expiryDate;
    }

    public boolean isIsActive() {
        return isActive;
    }

    public void setIsActive(boolean isActive) {
        this.isActive = isActive;
    }

    public boolean isIsSerial() {
        return isSerial;
    }

    public void setIsSerial(boolean isSerial) {
        this.isSerial = isSerial;
    }

    public String getActivecodeDate() {
        return activecodeDate;
    }

    public void setActivecodeDate(String activecodeDate) {
        this.activecodeDate = activecodeDate;
    }


    @Override
    public String toString() {


        return "[isSerial=" + isSerial + ",isActive=" + isActive + ",activation=" + activation
                + ",serial=" + serial + ",deviceId=" + deviceId + ",brand=" + brand
                + ",deviceModel=" + deviceModel + ",deviceCorpName=" + deviceCorpName + ",activecodeDate=" + activecodeDate + ",expiryDate=" + expiryDate
                + "]";
    }
}
